package com.bdqn.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bdqn.crm.pojo.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.bdqn.crm.pojo.Product
 */
public interface ProductMapper extends BaseMapper<Product> {

    /**
     * 分页查询
     * @param prodName
     * @param prodType
     * @param prodBatch
     * @param pageIndex
     * @param pageSize
     * @return
     */
    List<Product> selectPages(@Param("prodName") String prodName,@Param("prodType") String prodType,@Param("prodBatch") String prodBatch,@Param("pageIndex") Integer pageIndex,@Param("pageSize") Integer pageSize);

}




